package com.esint.lombok;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * @description: lombok测试类
 * @author: 谷明
 * @createDate: 2021/8/12 16:09
 */
@ToString(of = {"name", "age"})
@AllArgsConstructor
public class Person2 {
    @Getter
    @Setter
    private String name;
    @Getter
    @Setter
    private Integer gender;
    @Getter
    private Integer age;
    @Setter
    private String idNo;//身份证号
    private String hobby;
}
